import Vue from 'vue'
import VueRouter from 'vue-router'
const Music = () => import('@/views/music/Music')
const MusicLst = () => import('@/views/music/MusicLst')
const New = () => import('@/views/new/New')
const Detail = () => import('@/views/new/Detail')
const Poetry = () => import('@/views/poetry/Poetry')
const Image = () => import('@/views/image/Image')

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Music',
    component: Music
  },
  {
    path: '/music/MusicLst',
    name: 'MusicLst',
    component: MusicLst
  },
  {
    path: '/new',
    name: 'New',
    component: New
  },
  {
    path: '/new/Detail',
    name: 'Detail',
    component: Detail
  },
  {
    path: '/poetry',
    name: 'Poetry',
    component: Poetry
  },
  {
    path: '/image',
    name: 'Image',
    component: Image
  },
]

const router = new VueRouter({
  routes
})

export default router
